package com.service.impl;

import com.dao.GoodsTypeDao;
import com.pojo.GoodsType;
import com.service.GoodsService;
import com.service.GoodsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lifeng
 * @create 2022-11-28 17:04
 */
@Service
public class GoodsTypeServiceImpl implements GoodsTypeService {

    @Autowired
    private GoodsTypeDao goodsTypeDao;

    @Override
    public List<GoodsType> findAll() {
        return goodsTypeDao.selectList(null);
    }
}
